﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="tour.aspx.cs" Inherits="san_pham" %>

<%@ Register assembly="CollectionPager" namespace="SiteUtils" tagprefix="cc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div id="content_top"> </div>
    <div id="content_middle">
        <asp:Label ID=lb_ten_loai_san_pham runat=server>
            <div class=c2>
                <span><%= ten_loai_tour %></span>
                </div>
                </asp:Label>

        <asp:Label ID=lb_search runat=server></asp:Label>
        <asp:Label ID="lb_messenger" runat=server></asp:Label>

        <asp:DataList ID=datalist_san_pham runat=server RepeatColumns=3>
            <ItemTemplate>
                <div class="product_box margin_r20"> <a href="/tour/<%# Eval("tour_id") %>/<%# Utils.GetTitle(Eval("ten_tour").ToString()) %>.html"> <img src="/images/<%# Eval("anh_nho") %>"  /></a>
                          <h3> <%# Eval("ten_tour")%></h3>
                          <p class="price">Giá tour: <span><%# int.Parse(Eval("gia_khuyen_mai").ToString()) == 0 ? Constants.LIEN_HE : Eval("gia_khuyen_mai", "{0:0,0" + Constants.LOAI_TIEN + "}")%></span></p>
                          <p class="price">
                      Số ngày: <span><%# int.Parse(Eval("so_ngay").ToString()) == 0 ? Constants.LIEN_HE : Eval("so_ngay", "{0:0,0" + Constants.NGAY + "}")%></span>
                      Số đêm: <span><%# int.Parse(Eval("so_dem").ToString()) == 0 ? Constants.LIEN_HE : Eval("so_dem", "{0:0,0" + Constants.DEM + "}")%></span>
                    </p>
                          <a href="/tour/<%# Eval("tour_id") %>/<%# Utils.GetTitle(Eval("ten_tour").ToString()) %>.html" class="detail">Chi tiết</a><%--<a href="#" class="addtocard">Add to cart</a>--%><div class="cleaner"> </div>
                        </div>
            </ItemTemplate>
        </asp:DataList>


        <asp:DataList ID=datalist_conten runat=server>
            <ItemTemplate>
            <asp:Label ID=lb_ten_loai_san_pham runat=server>
                 <div class=c2>
                <span><%# Eval("ten_loai_tour") %></span>
                </div>
                </asp:Label>
                <asp:DataList ID=datalist_san_pham runat=server RepeatColumns=3>
                    <ItemTemplate>
                        <div class="product_box margin_r20"> <a href="/tour/<%# Eval("tour_id") %>/<%# Utils.GetTitle(Eval("ten_tour").ToString()) %>.html"> <img src="/images/<%# Eval("anh_nho") %>"  /></a>
                         
                            <h3> <%# Eval("ten_tour")%></h3>
                          
                          <p class="price"> Giá tour: <span><%# int.Parse(Eval("gia_khuyen_mai").ToString()) == 0 ? Constants.LIEN_HE : Eval("gia_khuyen_mai", "{0:0,0" + Constants.LOAI_TIEN + "}")%></span></p>
                          <p class="price">
                      Số ngày: <span><%# int.Parse(Eval("so_ngay").ToString()) == 0 ? Constants.LIEN_HE : Eval("so_ngay", "{0:0,0" + Constants.NGAY + "}")%></span>
                      Số đêm: <span><%# int.Parse(Eval("so_dem").ToString()) == 0 ? Constants.LIEN_HE : Eval("so_dem", "{0:0,0" + Constants.DEM + "}")%></span>
                    </p>
                          <a href="/tour/<%# Eval("tour_id") %>/<%# Utils.GetTitle(Eval("ten_tour").ToString()) %>.html" class="detail">Chi tiết</a><%--<a href="#" class="addtocard">Add to cart</a>--%><div class="cleaner"> </div>
                        </div>
                    </ItemTemplate>
                </asp:DataList>
                <div class="xem_tat"><asp:Label ID=lb_xem_tat runat=server><a href="/tour-list/<%# Eval("loai_tour_id") %>/<%# Utils.GetTitle(Eval("ten_loai_tour").ToString()) %>.html">Xem tất >></a></asp:Label> </div>
            </ItemTemplate>
        </asp:DataList>
        <cc1:CollectionPager ID="CollectionPager1" runat="server" 
            BackNextDisplay="Buttons" BackNextLocation="Split" BackText="Back" 
            NextText="Next" PageSize="9" ResultsLocation="None" ShowLabel="False" PagingMode="PostBack" ControlCssClass="collectionpager">
        </cc1:CollectionPager>
    </div>
</asp:Content>

